<div class="sidebar common_block_border clearfix mt_0">
        <div>
            <!--导航栏-->
            <php>
                //各列字段的含义分别是：标签名称，图标，链接，tabHash
                if($uid==is_login()) {
                $unreadMessage=D('Common/Message')->getHaventReadMeassageAndToasted(is_login());
                $oneuser_navbar_items_title='通知';
                $oneuser_navbar_items = array(
                array(
                array('收到的悄悄话',U('usercenter/message/chat',array('type'=>'to_chat')),'to_chat'),
                array('发出的悄悄话',U('usercenter/message/chat',array('type'=>'chat_to')),'chat_to')
                ),
                array(
                array('膜拜我的',U('usercenter/message/fans'),'fans'),
                array('我膜拜的',U('usercenter/message/following'),'following'),
                array('相互膜拜',U('usercenter/message/friends'),'friends')
                ),
                array(
                array('收到的求帮忙',U('UserCenter/Message/receiveHelp'),'receiveHelp'),
                array('发出的求帮忙',U('UserCenter/Message/sendHelp'),'sendHelp')
                ),
                array(
                array('网站发来的消息',U('UserCenter/Message/message'),'message')
                )
                );
                } else {
                $oneuser_navbar_items = array(
                );
                }
            </php>
            <if condition="$oneuser_navbar_items_title">
                <span class="sidebar_title col-xs-12">
                    {$oneuser_navbar_items_title}
                </span>
            </if>
            <ul class="col-xs-12 pad_0">
                <volist name="oneuser_navbar_items" id="item">
                    <neq name="key" value="0"><div class="line"></div></neq>
                    <volist name="item" id="child_item">
                        <php>
                            $activeClass = $tabHash == $child_item[2] ? 'sidebar_active' : '';
                        </php>
                        <li>
                            <a href="{$child_item[1]}" class="{$activeClass}">
                                {$child_item[0]}<if condition="$child_item[2] eq 'message'"><span id="nav_bandage_count" style="padding: 6px 7px;<if condition="count($unreadMessage) eq 0"> display: none</if>"
                                class="badge pull-right">{:count($unreadMessage)}</span></if>
                            </a>
                        </li>
                    </volist>
                </volist>
            </ul>
        </div>
</div>